import { DemoBlock } from 'demos';
import { Input, Button } from '@pxxtech/component';

const Basic = () => {
  return (
    <>
      <DemoBlock title="normal">
        <Input />
      </DemoBlock>
      <DemoBlock title="disabled">
        <Input disabled />
      </DemoBlock>
      <DemoBlock title="group">
        <Input.Group>
          <Input />
          <Button color="primary">搜索</Button>
        </Input.Group>
      </DemoBlock>
    </>
  );
};

export default Basic;
